package cn.edu.zut.score.core.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zby
 * @date 2021/06/25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("导入User对象")
public class ImportUser extends DataLogInfo {

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ExcelProperty(index = 1)
    @ApiModelProperty(value = "学生学号/教师工号")
    private String noId;

    @ExcelProperty("姓名")
    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户角色 0管理员 1教师 2学生")
    private Integer role;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ExcelProperty("班级")
    @ApiModelProperty(value = "班级ID")
    private String clazzId;

    @ExcelProperty("性别")
    @ApiModelProperty(value = "用户性别（0女1男）")
    private String gender;

    @ExcelProperty("手机号")
    @ApiModelProperty(value = "用户手机号")
    private String mobile;

    @ExcelProperty("邮箱")
    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ExcelProperty("住址")
    @ApiModelProperty(value = "用户地址")
    private String address;


}
